package com.fastCms.business.frame.plugins.sms;


import javax.annotation.PostConstruct;

/**
 * oss
 *
 * @author lsquan
 * @date 2019年3月22日
 */
public abstract class AbstractSmsStrategy implements ISmsStrategy {

    protected String strategyType;

    public AbstractSmsStrategy(String strategyType) {
        this.strategyType = strategyType;
    }

    @PostConstruct
    public void init() {
        SmsManager.setHandler(strategyType, this);
    }

}
